#ifndef FILEINFO_H_
#define FILEINFO_H_

#include <nds.h>
#include <string>

struct fileTime {
	u8 curmin, cursec, min, sec;
	u16 now, total;
};

struct fileInfo {
	std::string filepath;
	std::string type;		// compression type
	
	u32 sampleRate;		// sample rate
	u8 channels;		// number of channels
	u16 kbps;			// kilobits per second
	u8 bits;			// number of bits per sample
	u32 length;			// number of sample frames
	
	std::string title;		// title
	std::string artist;		// artist
	std::string album;		// album
	std::string year;		// year
	std::string track;		// track number
	std::string alltracks;	// number of all tracks
	
	float rgLoudness;
	float rgTrackGain;
	float rgTrackPeak;
	float rgAlbumGain;
	float rgAlbumPeak;
};

#endif /* FILEINFO_H_ */
